package legoserver;

import java.util.*;

/**
 * defines interface for a Pathfinder
 */
public interface AStarPathFinder
{
  /**
   * finds the shortest route through the map and returns an array
   * of all of the cells.
   */
  public AStarGridCell[] findPath(AStarMap map);
  
  public boolean isBusy();


  /**
   * inverses the solution array and filters the edge points
   * @return vector with the coordinates of the edge points
   */
  public Vector getSolution();
}